package com.mtgg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 亦善
 * @since 2020-05-14
 */
public class Company implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private Integer nums;


    public Long getId() {
        return id;
    }

    public Company setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public Company setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getNums() {
        return nums;
    }

    public Company setNums(Integer nums) {
        this.nums = nums;
        return this;
    }

    @Override
    public String toString() {
        return "Company{" +
        "id=" + id +
        ", name=" + name +
        ", nums=" + nums +
        "}";
    }
}
